package org.springblade.modules.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.platform.dto.PhysicalDataTableListByPageDTO;
import org.springblade.modules.platform.entity.MeasuringPointTable;
import org.springblade.modules.platform.vo.DataDetailsVO;
import org.springblade.modules.platform.vo.DeviceDetailsDTO;
import org.springblade.modules.platform.vo.MeasuringPointTableByPageVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SYG
 * @since 2022-11-29
 */
public interface IMeasuringPointTableService extends IService<MeasuringPointTable> {
    MeasuringPointTableByPageVO getListByPage(PhysicalDataTableListByPageDTO rawDataTableListByPageDTO);
    List<MeasuringPointTable>selectByTime(List<Long> list);

    List<MeasuringPointTable>selectByTime(Long startDate, Long endDate);

    List<DataDetailsVO.MeasuringPointTableVO> selectListByDeptId(Long deptId,Long gatherTime,Integer measurChainDirection);

    DeviceDetailsDTO getDeviceChart(String deviceId,Integer measurChainDirection,Long startDate, Long endDate);
}
